Worker = YAML.load_file("#{RAILS_ROOT}/config/workers.yml")[RAILS_ENV]["worker"]

if Worker.values.any? { |option| option.nil? }
  raise "You need to setup workers in #{RAILS_ROOT}/config/workers.yml"
end
